package de.dfki.asr.genesis2.sms.util;

import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

public class TaggedUser extends User {
	
	@XStreamAsAttribute
	private Integer offset = null;
	
	@XStreamAsAttribute
	private Integer length = null;
	
	public TaggedUser() {
		super();
	}
	
	public TaggedUser(String id, String username, String name, int offset, int length) {
		super(id,username,name);
		this.length = new Integer(length);
		this.offset = new Integer(offset);
	}	
	
	public TaggedUser(String id, String name, Link link, int offset, int length) {
		super(id,name,link);
		this.length = new Integer(length);
		this.offset = new Integer(offset);
	}	
	
	public TaggedUser(String id, String name, Link link, Media image, int offset, int length) {
		super(id,name,link,image);
		this.length = new Integer(length);
		this.offset = new Integer(offset);
	}	

	public TaggedUser(String id, String username, String name, Link link, int offset, int length) {
		super(id,username,name,link);
		this.length = new Integer(length);
		this.offset = new Integer(offset);
	}
	
	
	public Integer getOffset() {
		return offset;
	}
	public void setOffset(Integer offset) {
		this.offset = offset;
	}
	public Integer getLength() {
		return length;
	}
	public void setLength(Integer length) {
		this.length = length;
	}
}
